

        <g:set var="entityName" value="${message(code: 'score.label', default: 'Score')}" />
            <div class="dialog">
                <table>
                    <tbody>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="score.id.label" default="Id" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: scoreInstance, field: "id")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="score.student.label" default="Student" /></td>
                            
                            <td valign="top" class="value"><g:link controller="student" action="show" id="${scoreInstance?.student?.id}">${scoreInstance?.student?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="score.score.label" default="Score" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: scoreInstance, field: "score")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="score.exam.label" default="Exam" /></td>
                            
                            <td valign="top" class="value"><g:link controller="exam" action="show" id="${scoreInstance?.exam?.id}">${scoreInstance?.exam?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                    </tbody>
                </table>
            </div>
            <div class="buttons">
                <g:form>
                    <g:hiddenField name="id" value="${scoreInstance?.id}" />
                    <span class="button"><g:actionSubmit class="edit" action="edit" value="${message(code: 'default.button.edit.label', default: 'Edit')}" /></span>
                    <span class="button"><g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" /></span>
                </g:form>
            </div>
